﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using ElectronicsMarket.EMServices;

namespace ElectronicsMarket.Models
{
    public class SearchModel
    {
        private List<CATEGORY> categoryList;
        private List<MANUFACTURE> manufactureList;
        private List<Product> productList;
        private Page pageInfo;
        private string productName;
        private int categoryId;
        private int manufactureId;
        private int numberOfProduct = 0;
        private bool haveProduct = false;

        public List<MANUFACTURE> ManufactureList
        {
            get { return manufactureList; }
            set { manufactureList = value; }
        }
        public List<CATEGORY> CategoryList
        {
            get { return categoryList; }
            set { categoryList = value; }
        }
        public List<Product> ProductList
        {
            get { return productList; }
            set { productList = value; }
        }
        public string ProductName
        {
            get { return productName; }
            set { productName = value; }
        }
        public Page PageInfo
        {
            get { return pageInfo; }
            set { pageInfo = value; }
        }
        public int CategoryId
        {
            get { return categoryId; }
            set { categoryId = value; }
        }
        public int ManufactureId
        {
            get { return manufactureId; }
            set { manufactureId = value; }
        }
        public bool HaveProduct
        {
            get { return haveProduct; }
            set { haveProduct = value; }
        }
        public int NumberOfProduct
        {
            get { return numberOfProduct; }
            set { numberOfProduct = value; }
        }
    }
}